package cn.mesmile.design.factory.method;

import cn.mesmile.design.factory.simple.AliPay;
import cn.mesmile.design.factory.simple.Pay;

/**
 * @author zb
 * @date 2021/11/28 21:48
 * @Description 具体工厂类
 */
public class AliPayFactory implements PayFactory{

    @Override
    public Pay getPay() {
        return new AliPay();
    }
}
